<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>商品列表</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" type="text/css" href="../css/reset.css">
    <link rel="stylesheet" type="text/css" href="../css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="../css/main.css">
    <link rel="stylesheet" type="text/css" href="../css/child.css">
</head>
<body id="home-320">
<header id="header"></header>
<div class="content">
    <!-- <div class="product-filter">
        <a href="javascript:void(0);" class="clearfix current keyorder" key="4">
            <span class="pf-newpd-icon f-icon fleft"></span>
            <span class="pf-title">新品</span>
        </a>
        <a href="javascript:;" class="clearfix keyorder" key='3'>
            <span class="pf-price-icon  desc f-icon fleft"></span>
            <span class="pf-title">价格</span>
        </a>
        <a href="javascript:;" class="clearfix keyorder" key='1'>
            <span class="pf-sales-icon f-icon fleft"></span>
            <span class="pf-title">销量</span>
        </a>
        <a href="javascript:;" class="clearfix keyorder" key='2'>
            <span class="pf-popularity-icon f-icon fleft"></span>
            <span class="pf-title">人气</span>
        </a>
    </div> -->
    <div class="product-cnt">
        <div id="product_list"></div>
        <div class="pagination mt10">
            <a href="javascript:void(0);" class="pre-page disabled">上一页</a>
            <select name="page_list">

            </select>
            <a href="javascript:void(0);" class="next-page ">下一页</a>
        </div>
    </div>
</div>
<div class="footer" id="footer"></div>
<input type="hidden" name="key" value="4">
<input type="hidden" name="order" value="1">
<input type="hidden" name="page" value="10">
<input type="hidden" name="curpage" value="1">
<input type="hidden" name="hasmore">
<input type="hidden" name="gc_id" value="">
<input type="hidden" name="keyword">
</body>
<script type="text/html" id="home_body">
    <div class="list-banner">
        <% if(goods_type!=''){%>
            <img src="../images/goods-list-<%=goods_type;%>.png">
        <%}else {%>
            搜索“<%=keyword;%>”的结果
        <%}%> 
    </div>
    <% if(rows.length >0){%>
    <ul class="product-list">
        <% for(i=0;i<rows.length;i++){ %>
        <li class="pdlist-item" goods_id="<%=rows[i].id;%>">
            <a href="product_detail.html?goods_id=<%=rows[i].id;%>" class="pdlist-item-wrap clearfix">
					<span class="pdlist-iw-imgwp">
						<img src="<%=rows[i].photo;%>"/>
					</span>

                <div class="pdlist-iw-cnt">
                    <p class="pdlist-iwc-pdname">
                        <%=rows[i].title;%>
                    </p>

                    <p class="pdlist-iwc-pdprice price">
                        
                        <span class="goods-price">￥<%=rows[i].price;%></span>
                        <small><del>￥<%=rows[i].oprice;%></del></small>
                    </p>

                    <p class="addcarts">
                        <span class="pull-right goods-addcarts"></span>
                    </p>
                </div>
            </a>
        </li>
        <%}%>
    </ul>
    <%
    }else {
    %>
    <div class="no-record">
        暂无记录
    </div>
    <%
    }
    %>
</script>
<!-- <script type="text/javascript" src="../js/jquery.min.js"></script> -->
<script type="text/javascript" src="../js/config.js"></script>
<script type="text/javascript" src="../js/zepto.min.js"></script>
<script type="text/javascript" src="../js/touch.js"></script>
<script type="text/javascript" src="../js/template.js"></script>
<script type="text/javascript" src="../js/common.js"></script>
<!--<script type="text/javascript" src="../js/tmpl/common-top.js"></script>-->
<script type="text/javascript" src="../js/tmpl/footer.js"></script>
<script type="text/javascript" src="../js/tmpl/product_list.js"></script>
</html>